package com.yida.wy.basic.domain;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.yida.wy.common.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 物业公司基础信息 实体类。
 *
 * @author lqq
 * @since 1.0
 */
@Data
@ApiModel(value = "物业公司基础信息", description = "物业公司基础信息")
@Table(value = "wy_base_property_management_company")
public class WyBasePropertyManagementCompany extends BaseEntity {

    /**
     * 公司ID
     */
    @ApiModelProperty(value = "公司ID")
    @Id(keyType = KeyType.Auto)
    private Long companyId;

    /**
     * 公司性质ID
     */
    @ApiModelProperty(value = "公司性质ID")
    @Column(value = "company_nature_id")
    private Long companyNatureId;

    /**
     * 公司名称
     */
    @ApiModelProperty(value = "公司名称")
    @Column(value = "company_name")
    private String companyName;

    /**
     * 地区编码
     */
    @ApiModelProperty(value = "地区编码")
    @Column(value = "area_code")
    private String areaCode;

    /**
     * 邮政编码
     */
    @ApiModelProperty(value = "邮政编码")
    @Column(value = "postal_code")
    private String postalCode;

    /**
     * 企业联系人
     */
    @ApiModelProperty(value = "企业联系人")
    @Column(value = "contact_person")
    private String contactPerson;

    /**
     * 企业联系人电话号码
     */
    @ApiModelProperty(value = "企业联系人电话号码")
    @Column(value = "contact_phone")
    private String contactPhone;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    @Column(value = "email")
    private String email;

    /**
     * 社会统一识别码
     */
    @ApiModelProperty(value = "社会统一识别码")
    @Column(value = "socialIdentity_code")
    private String socialidentityCode;

    /**
     * 营业有效期
     */
    @ApiModelProperty(value = "营业有效期")
    @Column(value = "business_expiry_date")
    private Date businessExpiryDate;

    /**
     * 注册资本（100.25）（单位万）
     */
    @ApiModelProperty(value = "注册资本（100.25）（单位万）")
    @Column(value = "register_capital")
    private String registerCapital;

    /**
     * 成立时间
     */
    @ApiModelProperty(value = "成立时间")
    @Column(value = "establish_time")
    private Date establishTime;

    /**
     * 座机电话
     */
    @ApiModelProperty(value = "座机电话")
    @Column(value = "landline")
    private String landline;

    /**
     * 法定代表人
     */
    @ApiModelProperty(value = "法定代表人")
    @Column(value = "legal_representative")
    private String legalRepresentative;

    /**
     * 法人身份证号
     */
    @ApiModelProperty(value = "法人身份证号")
    @Column(value = "legal_person_id")
    private String legalPersonId;

    /**
     * 从业人员数量
     */
    @ApiModelProperty(value = "从业人员数量")
    @Column(value = "engage_people_num")
    private Integer engagePeopleNum;

    /**
     * 项目经理人数
     */
    @ApiModelProperty(value = "项目经理人数")
    @Column(value = "project_manager_num")
    private Integer projectManagerNum;

    /**
     * 企业注册地址
     */
    @ApiModelProperty(value = "企业注册地址")
    @Column(value = "register_address")
    private String registerAddress;

    /**
     * 企业详细地址
     */
    @ApiModelProperty(value = "企业详细地址")
    @Column(value = "detail_address")
    private String detailAddress;

    /**
     * 详细地址精度
     */
    @ApiModelProperty(value = "详细地址精度")
    @Column(value = "address_lng")
    private BigDecimal addressLng;

    /**
     * 详细地址纬度
     */
    @ApiModelProperty(value = "详细地址纬度")
    @Column(value = "address_lat")
    private BigDecimal addressLat;

    /**
     * 企业网址
     */
    @ApiModelProperty(value = "企业网址")
    @Column(value = "website")
    private String website;

    /**
     * 审批状态:0未审批;1已审批
     */
    @ApiModelProperty(value = "审批状态:0未审批;1已审批")
    @Column(value = "approval_status")
    private Integer approvalStatus;

    /**
     * 审批人
     */
    @ApiModelProperty(value = "审批人")
    @Column(value = "approver")
    private String approver;

    /**
     * 审批时间
     */
    @ApiModelProperty(value = "审批时间")
    @Column(value = "approval_time")
    private Date approvalTime;

    /**
     * 审批意见
     */
    @ApiModelProperty(value = "审批意见")
    @Column(value = "approval_remark")
    private String approvalRemark;

    /**
     * 公司简介
     */
    @ApiModelProperty(value = "公司简介")
    @Column(value = "company_profile")
    private String companyProfile;

    /**
     * 经营范围
     */
    @ApiModelProperty(value = "经营范围")
    @Column(value = "business_scope")
    private String businessScope;

    /**
     * 状态:0正常;1关闭
     */
    @ApiModelProperty(value = "状态:0正常;1关闭")
    @Column(value = "status")
    private Integer status;

    /**
     * 取消原因（留待备用）
     */
    @ApiModelProperty(value = "取消原因（留待备用）")
    @Column(value = "cancel_reason")
    private String cancelReason;

    /**
     * 文件编码(文件上传统一查询编码)
     */
    @ApiModelProperty(value = "文件编码(文件上传统一查询编码)")
    @Column(value = "file_code")
    private String fileCode;
}
